package com.ruoyi.project.orderSystem.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 工单站点对象 order_station
 * 
 * @author wangshuo
 * @date 2021-01-24
 */
public class OrderStation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 工单id */
    @Excel(name = "工单id")
    private Long orderId;

    /** 站点id */
    @Excel(name = "站点id")
    private Long stationId;

    /** 处理人id */
    @Excel(name = "处理人id")
    private Long operatorId;

    /** 状态，0,未完成，1已完成 */
    @Excel(name = "状态，0,未完成，1已完成")
    private Integer status;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtOperate;

    private String address;

    private String name;

    private String areaName;

    private List<OrderStationItem> stationItemList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public void setOperatorId(Long operatorId)
    {
        this.operatorId = operatorId;
    }

    public Long getOperatorId() 
    {
        return operatorId;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setGmtOperate(Date gmtOperate) 
    {
        this.gmtOperate = gmtOperate;
    }

    public Date getGmtOperate() 
    {
        return gmtOperate;
    }

    public List<OrderStationItem> getStationItemList() {
        return stationItemList;
    }

    public void setStationItemList(List<OrderStationItem> stationItemList) {
        this.stationItemList = stationItemList;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("operatorId", getOperatorId())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("gmtOperate", getGmtOperate())
            .toString();
    }
}
